<link rel="stylesheet" href="<?=$_SERVER['config']['style']?>/res/friends/css/style-friend.css"  type="text/css"/>
<div class="h_left">
<div class="h_menu_b">
	<ul>
        <li <?=($this->controller=='index' and $this->action=='get_list') ? 'class="selected"' : ''?> >
            <a href="<?=self::_makeURL('friends', 'index', 'get_list', array('uid'=>$this->getUid()))?>"><span><?=$this->getThe()?>的好友</span></a>
        </li>
        <? if(self::$is_self):?>
        <li <?=($this->controller=='group' and $this->action=='get_list') ? 'class="selected"' : ''?> >
            <a href="<?=self::_makeURL('friends', 'group', 'get_list')?>"><span>好友管理</span></a>
        </li>
        <li <?=(($this->controller=='guild' and $this->action=='index')
			|| ($this->controller=='group' and $this->action=='mutu_friends')
			|| ($this->controller=='armory' and $this->action='index')) ? 'class="selected"' : ''?>>
				<a href="<?=self::_makeURL('friends', 'group', 'mutu_friends')?>"><span>查找好友</span></a>
		</li>
        <li <?=($this->controller=='index' and $this->action=='get_wait_list') ? 'class="selected"' : ''?>>
				<a href="<?=self::_makeURL('friends', 'index', 'get_wait_list')?>"><span>等待确认的好友</span></a>
		</li>
        <?endif;?>
        <li <?=(($this->controller=='footprint' and $this->action=='get_list') || ($this->controller=='footprint' and $this->action=='get_out_list')) ? 'class="selected"' : ''?>>
        	<a href="<?=self::_makeURL('friends', 'footprint', 'get_list', array('uid'=>$this->getUid()))?>"><span>访客脚印</span></a>
        </li>
    </ul>
    <div class="part-title-right"><span class="invitefriend-icon"></span><a href="<?= self::_makeURL('friends', 'invitation', 'invite_form')?>">邀请朋友加入</a></div>
</div><!--part-title-class -->
<?php include($this->view);?>
</div>
<?if($this->right_view):?>
   <? include_once(APP_PATH.'/friends/views/'.$this->right_view) ;?>
<?endif;?>